package com.wd.cloud.applet.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 微信配置外部相关接口
 */
@Data
@Component
@ConfigurationProperties(prefix = "weixinpayconfig")
public class WeiXinPayConfig {
    /**
     * 获取 App ID
     *
     * @return App ID
     */
    public String appId;


    /**
     * 获取 Mch ID
     *
     * @return Mch ID
     */
    public String mchId;


    /**
     * 获取 API 密钥
     *
     * @return API密钥
     */
    public String key;

    public String notifyUrl;

    private String wxPrivateKey;
}
